package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.po.LeaveMessage;
import com.cskaoyan.mall.model.vo.goods.GoodsReplyVo;
import com.cskaoyan.mall.model.vo.message.CustomerVo;
import com.cskaoyan.mall.model.vo.message.GoodsLeaveMessageVo;
import com.cskaoyan.mall.model.vo.message.LeaveMessageVo;
import com.cskaoyan.mall.model.vo.message.QuestionAnswerVo;

import java.util.List;

/**
 * @ClassName: MessageMapper
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/7/2 11:20
 * @Version
 **/
public interface MessageMapper {
    List<LeaveMessageVo>  selectMessageDetails();

    GoodsReplyVo selectReplyById(Integer id);


    GoodsLeaveMessageVo selectGoodsName(Integer id);
    CustomerVo selectUserName(Integer id);



    void updateReplyContent(LeaveMessage leaveMessage);

    List<QuestionAnswerVo> selectQuestionAnswerById(Integer id);

    GoodsReplyVo selectReplyByMessageId(Integer id);

}
